/* this looks like a 2000s flash game and that was very intentional */
/* I would play these kinds of games for hours on the family XP computer */
html {
    font-size: 16px;
}
body {
    background-image: url("../img/background_img.gif");
}
h1 {
    font-family: "Cherry Bomb One", system-ui;
    margin: 1%;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    text-shadow: 2px 2px white;
    color: #ad1357;
}
h2 {
    font-family: "Cherry Bomb One", system-ui;
    font-size: 2rem;
    margin: 0;
}

/* progress bar styling */
progress {
  appearance: none;
  -webkit-appearance: none;
}
progress::-webkit-progress-bar {
    background-color: #ffc1e3;
    border-radius: 2%;
    border-style: solid;
    border-color: white;
    border-width: 2px;
}
progress::-webkit-progress-value {
    background-color: #f06293;
    border-radius: 2%;
}

.container {
    margin: auto;
}
.tagline {
    font-size: 1rem;
    background-color: white;
    color: #ad1357;
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.introText {
    visibility: visible;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Cherry Bomb One", system-ui;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f48fb1;
    border: solid white 0.5rem;
    border-radius: 2%;
    width: 25%;
    padding: 1%;
}
.startButton {
    font-family: "Cherry Bomb One", system-ui;
    font-size: 1.5rem;
    background-color: #ad1357;
    color: white;
    border-style: solid;
    border-color: white;
    border-radius: 2%;
}
.startButton:hover {
    background-color: #f06293;
    color: white;
}
/* music menu */
.musicMenu {
    visibility: hidden;
    background-color: #f48fb1;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    padding: 1%;
    border-radius: 2%;
    border: solid white 0.5rem;
    font-family: "Cherry Bomb One", system-ui;
}
.musicOptions {
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    width: 100%;
    font-family: "Cherry Bomb One", system-ui;
    text-align: center;
    color: white;
}
.musicButton {
    font-family: "Cherry Bomb One", system-ui;
    color: #ad1357;
    width: 50%;
    margin: 0.5rem;
    border: none;
    border-radius: 2%;
}
.musicButton:hover {
    background-color: #f06293;
    color: white;
}
/* death menu */
.deathMenu {
    visibility: hidden;
    background-color: #f48fb1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    padding: 1%;
    border-radius: 2%;
    border: solid white 0.5rem;
    font-family: "Cherry Bomb One", system-ui;
}
.breakdownCrying {
    height: 100px;
}
.restartButton {
    font-family: "Cherry Bomb One", system-ui;
    font-size: 1rem;
    background-color: blueviolet;
    border-style: solid;
    border-color: white;
    border-radius: 2%;
    margin-top: 0.5rem;
}
.restartButton:hover {
    background-color: blue;
    color: white;
}
/* game UI */
.gameBox {
    background-image: url("../img/gameBackground.png");
    background-position-y: 60%;
    background-size: cover;
    background-color: pink;
    background-repeat: no-repeat;
    height: 50vh;
    max-width: 40%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 20%);
    grid-template-rows: repeat(5, 20%);
    padding: 2%;
    border-radius: 2%;
    border: solid white 0.5rem;
}
.statProgressBars {
    display: flex;
    flex-direction: column;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
    margin: 1%;
    font-family: "Cherry Bomb One", system-ui;
    color: #ad1357;
}
.timer {
    grid-column-start: 5;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: "Cherry Bomb One", system-ui;
    font-size: 2rem;
    color: #ad1357;
}
/* character states */
.mainCharacter {
    grid-column-start: 3;
    grid-row-start: 2;
    visibility: visible;
    max-height: 300px;
}
.mainCharacterSad {
    grid-column-start: 3;
    grid-row-start: 2;
    visibility: hidden;
    max-height: 300px;
}
.mainCharacterHungry {
    grid-column-start: 3;
    grid-row-start: 2;
    visibility: hidden;
    max-height: 300px;
}
.poop {
    visibility: hidden;
    grid-row-start: 4;
    grid-column-start: 2;
    width: 75%;
}
.buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1%;
    margin: 1%;
}
.buttonInteract {
    font-family: "Cherry Bomb One", system-ui;
    font-size: 2rem;
    background-color: #f06293;
    color: white;
    border: solid white 3px;
    border-radius: 4%;
}
.buttonInteract:hover {
    background-color: #f48fb1;
    color: white;
}